package com.redisreview.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.redisreview.dto.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;


@Mapper
public interface StudentMapper extends BaseMapper<Student> {
//    @Select("select * from student where id = #{id}")
 Student 查询(Integer id);

 void updateSexByIds(@Param("ew") Wrapper<Student> queryWrapper, @Param("amount") int amount);
}
